//
//  VideoReturnJson.swift
//  Amicool
//
//  Created by Mac  on 2017/6/8.
//  Copyright © 2017年 Mac . All rights reserved.
//

import Foundation

class VideoReturnJson:NSObject{
    
    var name:String?
    var thumb:String?
    var desc:String?
    var videopath:String?
    var kcmc:String?
    var author:String?
    var update_time:String?
    
    
    class func VideoReturnJsonWithDict(_ dict:NSDictionary?)->VideoReturnJson?{
        if dict == nil{
            return nil
        }
        
        let model:VideoReturnJson?=VideoReturnJson()
        if model != nil{
           
                model?.name = dict!["name"] as? String
                model?.thumb = dict!["thumb"] as? String
                model?.desc = dict!["desc"] as? String
                model?.videopath = dict!["videopath"] as? String
                model?.kcmc = dict!["kcmc"] as? String
                model?.author = dict!["author"] as? String
                model?.update_time = dict!["update_time"] as? String
            
            
        }
   
        return  model
        
    }

}
